package com.system.commonutils.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


@ApiModel(value = "库存货物实体")
public class Stock extends Stock_info {

  @ApiModelProperty(name = "stock_id",dataType = "Integer",notes = "库存id",required =  false)
  private Integer stock_id;
  @ApiModelProperty(name = "stock_name",notes = "商品名称",required =  false)
  private String stock_name;
  @ApiModelProperty(name = "stock_totalnumber",dataType = "Integer",notes = "库存总数",required =  false)
  private Integer stock_totalnumber;
  @ApiModelProperty(name = "stock_typeid",dataType = "Integer",notes = "商品类型id",required =  false)
  private Integer stock_typeid;
  @ApiModelProperty(name = "stock_brandid",dataType = "Integer",notes = "商品品牌id",required =  false)
  private Integer stock_brandid;
  @ApiModelProperty(name = "stock_state",dataType = "Integer",notes = "库存状态",required =  false)
  private Integer stock_state;
  @ApiModelProperty(name="nowsPage" ,notes = "当前页数")
  private int nowsPage;//当前页数
  @ApiModelProperty(name="pageSize" ,notes = "页面显示条数")
  private int pageSize;//页面显示条数


  public int getNowsPage() {
    return nowsPage;
  }

  public void setNowsPage(int nowsPage) {
    this.nowsPage = nowsPage;
  }

  public int getPageSize() {
    return pageSize;
  }

  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
  }

  public Integer getStock_state() {
    return stock_state;
  }

  public void setStock_state(Integer stock_state) {
    this.stock_state = stock_state;
  }

  public Integer getStock_id() {
    return stock_id;
  }

  public void setStock_id(Integer stock_id) {
    this.stock_id = stock_id;
  }

  public String getStock_name() {
    return stock_name;
  }

  public void setStock_name(String stock_name) {
    this.stock_name = stock_name;
  }

  public Integer getStock_totalnumber() {
    return stock_totalnumber;
  }

  public void setStock_totalnumber(Integer stock_totalnumber) {
    this.stock_totalnumber = stock_totalnumber;
  }

  public Integer getStock_typeid() {
    return stock_typeid;
  }

  public void setStock_typeid(Integer stock_typeid) {
    this.stock_typeid = stock_typeid;
  }

  public Integer getStock_brandid() {
    return stock_brandid;
  }

  public void setStock_brandid(Integer stock_brandid) {
    this.stock_brandid = stock_brandid;
  }

  @Override
  public String toString() {
    return "Stock{" +
            "stock_id=" + stock_id +
            ", stock_name='" + stock_name + '\'' +
            ", stock_totalnumber=" + stock_totalnumber +
            ", stock_typeid=" + stock_typeid +
            ", stock_brandid=" + stock_brandid +
            ", stock_state=" + stock_state +
            ", nowsPage=" + nowsPage +
            ", pageSize=" + pageSize +
            '}';
  }
}
